package com.dayang.redbook.auth.model.user.vo;

import com.dayang.framework.common.validator.PhoneNumber;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: dayang
 * @since: 2024/6/3
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(description = "发送验证码请求实体")
public class SendVerificationCodeReqVO{
    @Schema(description = "手机号")
    @NotBlank(message = "手机号不能为空")
    @PhoneNumber
    private String phone;

}
